# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'SettingsDialog.ui'
#
# Created: Fri Dec 16 14:18:51 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_SettingsDialog(object):
    def setupUi(self, SettingsDialog):
        SettingsDialog.setObjectName(_fromUtf8("SettingsDialog"))
        SettingsDialog.resize(502, 406)
        SettingsDialog.setMinimumSize(QtCore.QSize(502, 406))
        SettingsDialog.setWindowTitle(QtGui.QApplication.translate("SettingsDialog", "Event Searcher Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout = QtGui.QGridLayout(SettingsDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(SettingsDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 2)
        self.toolBox = QtGui.QToolBox(SettingsDialog)
        self.toolBox.setObjectName(_fromUtf8("toolBox"))
        self.projectsPage = QtGui.QWidget()
        self.projectsPage.setGeometry(QtCore.QRect(0, 0, 399, 301))
        self.projectsPage.setObjectName(_fromUtf8("projectsPage"))
        self.gridLayout_2 = QtGui.QGridLayout(self.projectsPage)
        self.gridLayout_2.setContentsMargins(9, 0, 0, 0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.projectsList = QtGui.QListWidget(self.projectsPage)
        self.projectsList.setObjectName(_fromUtf8("projectsList"))
        self.gridLayout_2.addWidget(self.projectsList, 0, 0, 1, 1)
        self.toolBox.addItem(self.projectsPage, _fromUtf8(""))
        self.parametersPage = QtGui.QWidget()
        self.parametersPage.setGeometry(QtCore.QRect(0, 0, 98, 73))
        self.parametersPage.setObjectName(_fromUtf8("parametersPage"))
        self.gridLayout_3 = QtGui.QGridLayout(self.parametersPage)
        self.gridLayout_3.setContentsMargins(9, 0, 0, 0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.parametersList = QtGui.QListWidget(self.parametersPage)
        self.parametersList.setObjectName(_fromUtf8("parametersList"))
        self.gridLayout_3.addWidget(self.parametersList, 0, 0, 1, 1)
        self.toolBox.addItem(self.parametersPage, _fromUtf8(""))
        self.gridLayout.addWidget(self.toolBox, 0, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.selectAllBtn = QtGui.QPushButton(SettingsDialog)
        self.selectAllBtn.setText(QtGui.QApplication.translate("SettingsDialog", "Select All", None, QtGui.QApplication.UnicodeUTF8))
        self.selectAllBtn.setObjectName(_fromUtf8("selectAllBtn"))
        self.verticalLayout.addWidget(self.selectAllBtn)
        self.selectNoneBtn = QtGui.QPushButton(SettingsDialog)
        self.selectNoneBtn.setText(QtGui.QApplication.translate("SettingsDialog", "Select None", None, QtGui.QApplication.UnicodeUTF8))
        self.selectNoneBtn.setObjectName(_fromUtf8("selectNoneBtn"))
        self.verticalLayout.addWidget(self.selectNoneBtn)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout, 0, 1, 1, 1)

        self.retranslateUi(SettingsDialog)
        self.toolBox.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SettingsDialog.onAccept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SettingsDialog.reject)
        QtCore.QObject.connect(self.selectAllBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), SettingsDialog.onSelectAll)
        QtCore.QObject.connect(self.selectNoneBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), SettingsDialog.onSelectNone)
        QtCore.QObject.connect(self.toolBox, QtCore.SIGNAL(_fromUtf8("currentChanged(int)")), SettingsDialog.onTabChanged)
        QtCore.QMetaObject.connectSlotsByName(SettingsDialog)

    def retranslateUi(self, SettingsDialog):
        self.toolBox.setItemText(self.toolBox.indexOf(self.projectsPage), QtGui.QApplication.translate("SettingsDialog", "Projects", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.parametersPage), QtGui.QApplication.translate("SettingsDialog", "Event parameters", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SettingsDialog = QtGui.QDialog()
    ui = Ui_SettingsDialog()
    ui.setupUi(SettingsDialog)
    SettingsDialog.show()
    sys.exit(app.exec_())

